package com.bigevent.service.inter;

import com.bigevent.pojo.Category;
import com.bigevent.pojo.User;

public interface UserService {
    //根据用户名查询用户
    User findByUserName(String username);

    void register(String username,String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd);
}
